//
//  RootCollectionViewCell.m
//  UI14_豆瓣电影更新版
//
//  Created by dllo on 16/1/4.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import "RootCollectionViewCell.h"
#import "MovieModel.h"
@implementation RootCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self creatCell];
    }
    return self;
}
- (void)dealloc {
    [_label release];
    [_img release];
    [super dealloc];
}
- (void)creatCell {
    self.label = [[UILabel alloc] init];
    [self.contentView addSubview:_label];
    [_label release];
    
    self.img = [[UIImageView alloc] init];
    [self.contentView addSubview:_img];
    [_img release];
}
- (void)layoutSubviews {
    _img.frame = CGRectMake(0, 0, 110, 150);
    _label.frame = CGRectMake(0, 160, 110, 30);
//    _label.backgroundColor = [UIColor redColor];
}
@end
